usb: Correct return value in usb_stor_info()
authorSimon Glass <[email protected]>
Wed, 16 Mar 2016 13:45:44 +0000 (07:45 -0600)
committerTom Rini <[email protected]>
Tue, 22 Mar 2016 16:16:28 +0000 (12:16 -0400)
commitb94fc8518eb60102fbc0fa46a84a43e02e0c0a6e
tree87847cec547ef8c2d6c941a6820396fd2dd6c162
parent5b15a2596f7852177c7f451349b353e6e52742a2
usb: Correct return value in usb_stor_info()

This should return 0 on success, not 1. Fix it.

Signed-off-by: Simon Glass <[email protected]>
Acked-by: Marek Vasut <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
common/usb_storage.c